package ${package}.${module.packageName}.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

<@point name="JAVA:IMPORT" />

<#assign classComment = "${module.explain}数据接口">
<#include "../javadoc/classComment.ftl">
@Mapper
public interface ${module.name}Dao {
	
	void add${module.name}(${module.name} ${module.name ? uncap_first});
	
	void update${module.name}(${module.name} ${module.name ? uncap_first});
	
	int delete${module.name}(@Param("ids") String[] ids);
	
	${module.name} get${module.name}(String id);
	
	List<${module.name}> list${module.name}(@Param("query") ${module.name}Query query);
	
	<@point name="JAVA:INTERFACE" />
	
}